import { IPSAppView } from '../../app/view/ipsapp-view';
import { IPSEditor } from '../ipseditor';
import { IPSNavigateParamContainer } from '../ipsnavigate-param-container';

/**
 *
 * 子接口类型识别属性[]
 * @export
 * @interface IPSPickerEditor
 */
export interface IPSPickerEditor extends IPSEditor, IPSNavigateParamContainer {
  /**
   * 附加上下文Json字符串
   * @type {string}
   */
  contextJOString: string;

  /**
   * 项参数对象
   * @type {IModel}
   */
  itemParamJO: IModel;

  /**
   * 附加参数Json字符串
   * @type {string}
   */
  paramJOString: string;

  /**
   * 选择视图
   *
   * @type {IPSAppView}
   */
  getPickupPSAppView(): IPSAppView | null;

  /**
   * 选择视图
   *
   * @type {IPSAppView}
   */
  get pickupPSAppView(): IPSAppView | null;

  /**
   * 选择视图（必须存在）
   *
   * @type {IPSAppView}
   */
  getPickupPSAppViewMust(): IPSAppView;

  /**
   * 支持选择视图
   * @type {boolean}
   */
  enablePickupView: boolean;
}
